package cn.wjzhang.middle.modules.area.beans.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 县级（区县）修改参数
 *
 * @author wjzhang
 * @date 2023-06-28 18:48:28
 */
@Setter
@Getter
@ToString
@ApiModel(value = "MidAreasEditRequest", description = "县级（区县）修改参数")
public class MidAreasEditRequest implements Serializable {

    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty(value = "县级代码")
    private String code;

    @ApiModelProperty(value = "县级名称")
    private String name;

    @ApiModelProperty(value = "地级代码")
    private String cityCode;

    @ApiModelProperty(value = "省级代码")
    private String provinceCode;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
